package cn.shopping.service.impl.prouct;

import java.util.Date;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.shopping.dao.prouct.ProuctMapper;
import cn.shopping.pojo.Sh_product;
import cn.shopping.pojo.Sh_two;
import cn.shopping.pojo.Sh_zone;
import cn.shopping.service.prouct.ProuctService;
@Service
public class ProuctServiceImpl implements ProuctService {
	
	@Autowired
	private ProuctMapper prouctMapper;

	@Override
	public List<Sh_product> prouct_list(String product_name, String two_name,
			Date product_startday, Date product_modifyday) {
		// TODO Auto-generated method stub
		return prouctMapper.prouct_list(product_name,two_name,product_startday,product_modifyday);
	}

	@Override
	public int del_product(Integer id) {
		// TODO Auto-generated method stub
		return prouctMapper.del_product(id);
	}

	@Override
	public List<Sh_product> zone_prouct_list(Integer product_zone) {
		// TODO Auto-generated method stub
		return prouctMapper.zone_prouct_list(product_zone);
	}

	@Override
	public List<Sh_two> get_twoType() {
		// TODO Auto-generated method stub
		return prouctMapper.get_twoType();
	}

	@Override
	public List<Sh_zone> get_zone_Type() {
		// TODO Auto-generated method stub
		return prouctMapper.get_zone_Type();
	}
	

}
